using System;
using System.Diagnostics;
using System.IO;
using System.Xml.Serialization;
using NUnit.Framework;

using BuildAutoIncrement;

namespace TestUnits
{
	/// <summary>
	/// Summary description for ConfigurationSerialization.
	/// </summary>
    [TestFixture]
    public class ConfigurationSerializationTest
	{
		public ConfigurationSerializationTest()
		{
		}

        [SetUp] 
        public void SetUp() {
        }

        [TearDown] 
        public void TearDown() {
        }

        public void TestConfigurationWriting() {
            XmlSerializer ser = new XmlSerializer(typeof(VcbConfiguration));
            VcbConfiguration conf = new VcbConfiguration();
            using (Stream stream = new FileStream("Configuration.xml", FileMode.Create, FileAccess.Write, FileShare.Write)) {
                ser.Serialize(stream, conf);
            }
        }
	}
}
